package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;


/**
 * 订单费用组成配置项业务对象 order_fee_config
 *
 * @author ruoyi
 * @date 2024-04-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class OrderFeeConfigBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 是否显示备注（Y=是,N=否）
     */
    @NotBlank(message = "是否显示备注（Y=是,N=否）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isShowRemark;

    /**
     * 是否显示必须（Y=是,N=否）
     */
    @NotBlank(message = "是否显示必须（Y=是,N=否）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String isShowMust;

    /**
     * 是否默认（0=正常,1=停用）
     */
    @NotBlank(message = "是否默认（0=正常,1=停用）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;


}
